use std::{collections::HashMap, sync::Mutex};

use crate::types::TokenInfo;

pub struct GetTokenInfo {
    pub token: String,
    pub id: String,
}

#[derive(Default)]
pub struct AuthService {
    sessions: Mutex<HashMap<String, TokenInfo>>,
    tokens: Mutex<HashMap<String, String>>,
}

impl AuthService {}
